You must be a member to use this app<\/h4>\n\n\t\t\t\t<\/div>\n\n\t\t\t<\/div>\n\n\t\t<\/div>\n\n\t<\/div>\n\n\t
<\/div>\n","script":"(function () {\n if (window.__B9_SENTRY_JS_LOADER_INIT) {\n return;\n }\n window.__B9_SENTRY_JS_LOADER_INIT = true;\n\n let loaderUrl = \"https:\/\/js.sentry-cdn.com\/6e5b36c6dfa6e424df95a54e08f2c5e1.min.js?replay=1\";\n let cfg = {\"dsn\":\"https:\/\/6e5b36c6dfa6e424df95a54e08f2c5e1@o4510887584333824.ingest.us.sentry.io\/4510889066233856\",\"environment\":\"production\",\"release\":\"b9-golf-mobile-services@0-0-76\",\"tracesSampleRate\":0.2,\"enableLogs\":true,\"replaysSessionSampleRate\":0.1,\"replaysOnErrorSampleRate\":1,\"tracePropagationTargets\":[\"https:\/\/api.b9.golf\",\"https:\/\/mobile-services-v2-dot-b9-golf.uc.r.appspot.com\",\"https:\/\/corporate.b9.golf\",\"https:\/\/franchise.b9.golf\",\"https:\/\/tasks.b9.golf\",\"https:\/\/thebackninegolf.com\"],\"initialUser\":null};\n if (!loaderUrl) {\n return;\n }\n\n function attachB9SentryHelpers() {\n if (window.B9Sentry && window.B9Sentry.__version === 1) {\n return;\n }\n\n function getSentry() {\n return window.Sentry || null;\n }\n\n function normalizeLevel(level) {\n let value = String(level || 'info').toLowerCase();\n if (value === 'warning') {\n return 'warn';\n }\n return value;\n }\n\n function toAttributes(attributes) {\n if (!attributes || typeof attributes !== 'object') {\n return {};\n }\n return attributes;\n }\n\n function metric(method, name, value, attributes) {\n let sentry = getSentry();\n if (!sentry || !sentry.metrics || typeof sentry.metrics[method] !== 'function') {\n return false;\n }\n sentry.metrics[method](name, value, toAttributes(attributes));\n return true;\n }\n\n function applyUserContext(user) {\n let sentry = getSentry();\n if (!sentry || typeof sentry.setUser !== 'function') {\n return false;\n }\n if (!user || typeof user !== 'object') {\n sentry.setUser(null);\n return true;\n }\n sentry.setUser(user);\n return true;\n }\n\n window.B9Sentry = {\n __version: 1,\n log: function (level, message, attributes) {\n let sentry = getSentry();\n if (!sentry || !message) {\n return;\n }\n\n let normalized = normalizeLevel(level);\n let attrs = toAttributes(attributes);\n if (sentry.logger && typeof sentry.logger[normalized] === 'function') {\n sentry.logger[normalized](String(message), [], attrs);\n return;\n }\n\n if (typeof sentry.captureMessage === 'function') {\n sentry.captureMessage(String(message), normalized);\n }\n },\n metricCount: function (name, value, attributes) {\n return metric('increment', name, typeof value === 'number' ? value : 1, attributes);\n },\n metricGauge: function (name, value, attributes) {\n return metric('gauge', name, typeof value === 'number' ? value : 0, attributes);\n },\n metricDistribution: function (name, value, attributes) {\n return metric('distribution', name, typeof value === 'number' ? value : 0, attributes);\n },\n startSpan: function (name, op, callback) {\n let sentry = getSentry();\n if (!sentry || typeof sentry.startSpan !== 'function') {\n if (typeof callback === 'function') {\n return callback();\n }\n return null;\n }\n return sentry.startSpan({ name: name || 'b9.frontend.span', op: op || 'ui.action' }, function () {\n if (typeof callback === 'function') {\n return callback();\n }\n return null;\n });\n },\n startReplay: function () {\n let sentry = getSentry();\n if (!sentry || typeof sentry.getClient !== 'function') {\n return false;\n }\n let client = sentry.getClient();\n if (!client || typeof client.getIntegrationByName !== 'function') {\n return false;\n }\n let replay = client.getIntegrationByName('Replay');\n if (!replay) {\n return false;\n }\n if (typeof replay.start === 'function') {\n replay.start();\n return true;\n }\n if (typeof replay.startBuffering === 'function') {\n replay.startBuffering();\n return true;\n }\n return false;\n },\n setUser: function (user) {\n return applyUserContext(user);\n }\n };\n }\n\n window.sentryOnLoad = function () {\n if (!window.Sentry || typeof window.Sentry.init !== 'function') {\n return;\n }\n if (typeof window.Sentry.getClient === 'function' && window.Sentry.getClient()) {\n let existingClient = window.Sentry.getClient();\n let hasReplay = typeof existingClient.getIntegrationByName === 'function'\n && existingClient.getIntegrationByName('Replay');\n if (!hasReplay && typeof window.Sentry.replayIntegration === 'function'\n && typeof window.Sentry.addIntegration === 'function') {\n window.Sentry.addIntegration(window.Sentry.replayIntegration());\n }\n\n attachB9SentryHelpers();\n if (window.B9Sentry && typeof window.B9Sentry.setUser === 'function') {\n window.B9Sentry.setUser(cfg.initialUser || null);\n }\n return;\n }\n\n let integrations = [];\n if (typeof window.Sentry.browserTracingIntegration === 'function') {\n integrations.push(window.Sentry.browserTracingIntegration());\n }\n if (typeof window.Sentry.replayIntegration === 'function') {\n integrations.push(window.Sentry.replayIntegration());\n }\n\n let tracePropagationTargets = [window.location.origin];\n if (Array.isArray(cfg.tracePropagationTargets)) {\n for (let i = 0; i < cfg.tracePropagationTargets.length; i++) {\n let target = cfg.tracePropagationTargets[i];\n if (typeof target !== 'string' || target.length === 0) {\n continue;\n }\n if (tracePropagationTargets.indexOf(target) === -1) {\n tracePropagationTargets.push(target);\n }\n }\n }\n\n let initOptions = {\n dsn: cfg.dsn,\n environment: cfg.environment,\n release: cfg.release,\n tracesSampleRate: cfg.tracesSampleRate,\n propagateTraceparent: true,\n enableLogs: cfg.enableLogs,\n replaysSessionSampleRate: cfg.replaysSessionSampleRate,\n replaysOnErrorSampleRate: cfg.replaysOnErrorSampleRate,\n tracePropagationTargets: tracePropagationTargets,\n beforeSendTransaction: function (event) {\n try {\n let client = window.Sentry && typeof window.Sentry.getClient === 'function'\n ? window.Sentry.getClient() : null;\n if (!client || typeof client.getIntegrationByName !== 'function') {\n return event;\n }\n let replay = client.getIntegrationByName('Replay');\n let replayId = replay && typeof replay.getReplayId === 'function'\n ? replay.getReplayId() : '';\n if (!replayId) {\n return event;\n }\n\n event.tags = event.tags || {};\n if (!event.tags.replay_id) {\n event.tags.replay_id = replayId;\n }\n if (event.contexts && event.contexts.trace) {\n event.contexts.trace.data = event.contexts.trace.data || {};\n if (typeof event.contexts.trace.data === 'object' && !event.contexts.trace.data.replay_id) {\n event.contexts.trace.data.replay_id = replayId;\n }\n }\n } catch (_) {}\n return event;\n }\n };\n\n let initClient = function () {\n if (integrations.length > 0) {\n initOptions.integrations = integrations;\n }\n\n window.Sentry.init(initOptions);\n attachB9SentryHelpers();\n if (window.B9Sentry && typeof window.B9Sentry.setUser === 'function') {\n window.B9Sentry.setUser(cfg.initialUser || null);\n }\n };\n\n initClient();\n };\n\n let scripts = document.getElementsByTagName('script');\n for (let i = 0; i < scripts.length; i++) {\n if (scripts[i] && scripts[i].src === loaderUrl) {\n return;\n }\n }\n\n let script = document.createElement('script');\n script.src = loaderUrl;\n script.crossOrigin = 'anonymous';\n script.onerror = function () {\n window.__B9_SENTRY_JS_LOADER_INIT = false;\n };\n document.head.appendChild(script);\n})();\n\n\n\tdocument.getElementById(\"mainContent\").style.height = \"100vh\";\n\n\tvar loginButton = document.getElementById(\"loginButton\");\n\n\tvar oldButton = loginButton.cloneNode(true);\n\n\tloginButton.parentNode.replaceChild(oldButton, loginButton);\n\n\toldButton.addEventListener(\"click\", function(){\n\n\t\tthis.disabled = true;\n\n\t\tvar email = document.getElementById(\"email\");\n\n\t\tcustom_swal.fire({\n\t\t\ttitle: \"Loading...\",\n\t\t\thtml: \"Please wait...\",\n\t\t\tallowEscapeKey: false,\n\t\t\tallowOutsideClick: false,\n\t\t\tdidOpen: () => {\n\t\t\t\tcustom_swal.showLoading();\n\t\t\t},\n\t\t\twillClose: () => {\n\t\t\t\tcustom_swal.hideLoading();\n\t\t\t}\n\t\t});\n\n\t\tpostObject(\"\/login\/account\/\", { email: email.value }, \"loginContainer\");\n\n\t});\n\n"}